//
//  ParentModel.h
//  FuncFanc
//
//  Created by careate-hubing on 2020/12/16.
//  Copyright © 2020 huhu. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,UserGender)
{
    UserGenderUnkown = 0,
    UserGenderMale   = 1,
    UserGenderFemale = 2,
};

@interface ParentModel : NSObject

@end

@interface UserModel : ParentModel

@property (nonatomic,strong) NSString *nickName;

@property (nonatomic,strong) NSString *idNumber;

@property (nonatomic,assign) UserGender gender; //1男 2 女

@property (nonatomic,strong) NSString *age;

@property (nonatomic,strong) NSString *brithDay;

@property (nonatomic,strong) NSString *avatorPath;

@end

@interface CreditCardModel : ParentModel

@property (nonatomic,strong) UserModel *cardUser;

@property (nonatomic,strong) NSString *bankName;

@property (nonatomic,strong) NSString *cardNumber;

@property (nonatomic,strong) NSString *blance;  // 余额

@property (nonatomic,strong) NSString *creditLine;  // 信贷额度

@property (nonatomic,strong) NSString *billDate;   // 账单日

@property (nonatomic,strong) NSString *paybackDate;  // 还款日

@property (nonatomic,strong) NSString *allCreditLine; // 全部额度

@property (nonatomic,strong) NSString *residueCreditLine;  // 剩余额度

@end

@interface BillModel : ParentModel

@property (nonatomic,strong) NSString *timeStamp;

@property (nonatomic,strong) NSString *consumeMoney;

@property (nonatomic,strong) CreditCardModel *card;

@end


//@interface IDCardInfoModel : ParentModel
//
//@property (nonatomic,strong) NSString *name;
//
//@property (nonatomic,strong) NSString *birthday;
//
//@property (nonatomic,assign) NSInteger gender;
//
//@property (nonatomic,strong) NSString *age;
//
//@property (nonatomic,strong) NSString *IDCardNumber;
//
//@end

@interface DoctorPhotoModel : ParentModel

@property (nonatomic,strong) NSString *photoUrl;

@property (nonatomic,strong) NSString *MD5Str;

@property (nonatomic,strong) NSString *doctorCID;

@property (nonatomic,strong) NSString *photoBase64;

@end

NS_ASSUME_NONNULL_END
